<%--
  Created by IntelliJ IDEA.
  User: 82305
  Date: 2021/4/6
  Time: 19:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<link rel="stylesheet" href="css/bootstrap.min.css">
<body>
<form action="UpdateServlet" method="post">
    <%
        String id=request.getParameter("id");
        request.getSession().setAttribute("id",id);

    %>
    学号：<input type="text" name="id" class="form-control" value="<%= id%>" readonly="readonly">
    <br>
    名字：<input type="text" name="name" class="form-control">
    <br>
    性别：<input type="text" name="sex" class="form-control" >
    <br>
    生日：<input type="text" name="birth" class="form-control" >
    <br>
    邮箱：<input type="email" name="email" class="form-control" >
    <br>
    备注：<input type="text" name="content" class="form-control" >
    <br>
    <button type="submit" class="btn btn-success btn-lg" >修改</button>
    <span style="color:red"><%= request.getSession().getAttribute("errorUpdate")==null?"":request.getSession().getAttribute("errorUpdate")%></span>
    <a href="main.jsp" >返回</a>
</form>



<script src="js/bootstrap.min.js"></script>
<script src="js/jquery-3.3.1.min.js"></script>
</body>
</html>
